package com.lj.domain;

/**
 * Created by dave_suwei on 2017/12/7.
 */
public class ParamsInfo implements IDomain{
    private long showTime;
    private int lastSelect;
    private int showCount;
    private int rejectCount;
    private int considerCount;
    private String startDate;
    private String endDate;
    private int rejectInterval;
    private int considerInterval;

    public long getShowTime() {
        return showTime;
    }

    public void setShowTime(long showTime) {
        this.showTime = showTime;
    }

    public int getLastSelect() {
        return lastSelect;
    }

    public void setLastSelect(int lastSelect) {
        this.lastSelect = lastSelect;
    }

    public int getShowCount() {
        return showCount;
    }

    public void setShowCount(int showCount) {
        this.showCount = showCount;
    }

    public int getRejectCount() {
        return rejectCount;
    }

    public void setRejectCount(int rejectCount) {
        this.rejectCount = rejectCount;
    }

    public int getConsiderCount() {
        return considerCount;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public void setConsiderCount(int considerCount) {
        this.considerCount = considerCount;
    }

    public int getRejectInterval() {
        return rejectInterval;
    }

    public void setRejectInterval(int rejectInterval) {
        this.rejectInterval = rejectInterval;
    }

    public int getConsiderInterval() {
        return considerInterval;
    }

    public void setConsiderInterval(int considerInterval) {
        this.considerInterval = considerInterval;
    }

    @Override
    public String toString() {
        return "ParamsInfo{" +
                "showTime=" + showTime +
                ", lastSelect=" + lastSelect +
                ", showCount=" + showCount +
                ", rejectCount=" + rejectCount +
                ", considerCount=" + considerCount +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", rejectInterval=" + rejectInterval +
                ", considerInterval=" + considerInterval +
                '}';
    }

    @Override
    public String toJson() {
        return "{'showTime':"+showTime+",'lastSelect':"+lastSelect+",'showCount':"+showCount+",'rejectCount':"+rejectCount+
                ",'considerCount':"+considerCount+",'startDate':'"+startDate+"','endDate':'"+endDate+"','rejectInterval':"+
                rejectInterval+",'considerInterval':"+considerInterval+"}";
    }
}
